package com.linx.system.mapper;

import com.linx.common.mybatis.core.mapper.BaseMapperPlus;
import com.linx.system.domain.SysUserPark;
import com.linx.system.domain.vo.SysUserParkVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户园区关联Mapper接口
 *
 * @author linx
 * @date 2024-11-09
 */
@Repository
public interface SysUserParkMapper extends BaseMapperPlus<SysUserPark, SysUserParkVo> {

    /**
     * 根据用户ID查询园区
     *
     * @param userId 用户ID
     * @return 园区列表
     */
    List<SysUserParkVo> selectParkListByUserId(Long userId);
    List<SysUserParkVo> selectParkList();

}
